package edu.pku.sei.mte.mtemodel.core;

import edu.pku.sei.mte.utilities.Visitor;

public abstract class Element implements IElement, Cloneable{

	private boolean changeable;

	public boolean isChangeable() {
		return changeable;
	}

	public void setChangeable(boolean changeable) {
		this.changeable = changeable;
	}
	
	@Override
	public Object accept(Visitor visitor) {
		return visitor.visitElement(this);
	}
	
	@Override
	public Object clone(){
		Object o = null;
		try {
			o = super.clone();
		} catch (CloneNotSupportedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return o;
	}

}
